#include "cppTutorFriendFunction.h"

#include <iostream>

using namespace std;

CcppTutorFriendFunction :: CcppTutorFriendFunction () : m_nValue (0)
{
}

CcppTutorFriendFunction :: ~CcppTutorFriendFunction ()
{
}

int CcppTutorFriendFunction :: m_nGetValue()
{
	cout << "Friend function accessing class members ....." << endl;
	return m_nValue;
}

void fGetValue (CcppTutorFriendFunction &FrndFn)
{
	cout << "m_nValue = " << FrndFn.m_nValue << endl;
}